import React from "react";
export interface MetaProps{
    keepAlive?: boolean;
    unWantedAuth?:boolean;
    key?:string;
}
export interface RouteObject{
    children?: RouteObject[];
    element: React.ReactNode;
    path: string;
    meta?: MetaProps;
}
export interface User{
    username: string;
    password: string;
}
export interface State{
    user:User|null;
}
export interface DataType{
    id:number;
    name:string;
    phone:string;
    aveter:string;
    state:boolean;

}